Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify the implementation of sbrk(). #20793

Merged
merged 3 commits into from
Nov 29, 2023
Merged

Conversation

juj
Copy link
Collaborator

@juj juj commented Nov 28, 2023

Reading the implementation of sbrk(), it has evolved to be a bit #ifdef heavy. This cleans it up a little, and avoids the use of goto.

system/lib/libc/sbrk.c Outdated Show resolved Hide resolved
system/lib/libc/sbrk.c Outdated Show resolved Hide resolved
system/lib/libc/sbrk.c Outdated Show resolved Hide resolved
@juj juj merged commit 6a41187 into emscripten-core:main Nov 29, 2023
25 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants